package com.company.cloud.user.modules.mgr.service;

import com.company.cloud.common.bean.LoginSimpleUserInfo;
import com.company.cloud.user.modules.api.response.RoleModel;
import com.company.cloud.user.modules.base.entity.UserRoleInfo;
import com.company.cloud.user.modules.mgr.controller.req.RoleSaveParam;
import com.company.cloud.user.modules.mgr.controller.req.RoleUpdateParam;

import java.util.List;

public interface RoleMgrService {

	public RoleModel save(RoleSaveParam params, LoginSimpleUserInfo userInfo);
	
	public RoleModel update(RoleUpdateParam params, LoginSimpleUserInfo userInfo);

	public RoleModel get(String code);

	public List<UserRoleInfo> delete(String code,LoginSimpleUserInfo userInfo);
	
	
}
